package test;

import com.sun.org.apache.xml.internal.resolver.helpers.PublicId;

import test.generic.InterfaceGeneric;

public class Hello extends InnerClass.Inner implements InterfaceGeneric<Hello, Integer>,Tinterface{
	String name;
	public Hello() throws Exception{
		super("ff");
//		innerClass.super();
	}
//	public Hello(String name){
////		innerClass.super();
//		this.name = name;
//	}
	public String getss() throws Exception{
		new InnerClass.Inner("gd");
		return name;
	}
	public Hello(InnerClass innerClass) throws Exception {
		super("ff");
		// TODO Auto-generated constructor stub
	}

	public static String HS = "hello static";
	public static int i = 9;
	public String hel(String ss) {
		System.out.println("ffff");
		System.out.println("param: " + ss);
		return ss;
	}

	public static void setString(String ss) {
		HS = ss;
	}

	public int getint() {
		System.out.println("innerclass1");
		return 2;
	}
	public void getString() {
		System.out.println(HS);
	}
	public Hello get(Integer s) {
		// TODO Auto-generated method stub
		return new Hello(new InnerClass());
	}
	@Override
	public String gets(Hello u) {
		// TODO Auto-generated method stub
		return u.getClass().getName()+" "+"hghg";
	}
	@Override
	public String test() {
		// TODO Auto-generated method stub
		return "TinterfaceImpl";
	}
	@Override
	public String gets() throws Exception{
		// TODO Auto-generated method stub
		return "gets";
	}
	public static void main(String[] args){
		/*Hello hello = null;
		try {
			hello = new Hello();
			hello.gets();
		} catch (Exception e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		System.out.println(hello.gets());*/
		String ss = null;
		System.out.println("'"+ss+"'");
	}
}
